package com.share.beta.domain.idpid;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author 01401061 - 孙艳强
 * @date 2020/11/10 2:31
 */
@Data
public class IdAndPidVo {
    @ApiModelProperty("")
    private Long id;

    @ApiModelProperty("父菜单id")
    private Long pid;

    @ApiModelProperty("菜单名称")
    private String name;

    @ApiModelProperty("链接")
    private String url;

    @ApiModelProperty("是否为目录")
    private String isdir;

    @ApiModelProperty("菜单映射")
    private String code;

    @ApiModelProperty("子菜单")
    private List<IdAndPidVo> children;

}
